
public class MovableCircle {
	private int radius;
	private MovablePoint center;
	public MovableCircle(int x,int y,int xSpeed,int ySpeed,int radius){
		center=new MovablePoint(x,y,xSpeed,ySpeed);
		this.radius=radius;
	}
	public String toString(){
		return "radius="+radius+" x="+center.x+" y="+center.y+" xSpeed="+center.xSpeed+" ySpeed="+center.ySpeed;
	}
	public void moveUp(){
		
		center.y=center.y+center.ySpeed;
	}
	public void moveDown(){
		center.y=center.y-center.ySpeed;
	}
	public void moveLeft(){
		center.x=center.x-center.xSpeed;
	}
	public void moveRight(){
		center.x=center.x+center.xSpeed;
	}
}
